home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!usenet
- From: larsit@sn.no (Lars-Inge Tonnessen)
- Newsgroups: comp.lang.c++
- Subject: Re: visual c++ 1.5 compiler not working in windows 95
- Date: Tue, 23 Jan 1996 16:07:20 GMT
- Organization: SN Internett
- Message-ID: <4e3117$hvc@hasle.sn.no>
- References: <4ducds$aei@ixnews6.ix.netcom.com>
- NNTP-Posting-Host: stavanger2-ppp16.oslo.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- rykk <rykk@ix.netcom.com> wrote:
-
- >when i try to compile "hello world" the most basic program, my compiler tells me i
- >have over 102 errors and quits. the errors it lists makes little sense. just to
- >verify that i am doing it right, here is what i do:
- >open msvc
- >open new,
- >write
-
-
- >#include <iostream.h>
- >void main()
- >{
- >cout << "hello world\n";
- >}
-
- >then i pull down the "project" item and chose compile am i doing it right?
- >thank you!
-
- NO!!!! You are NOT doing it right!!!!
-
- Where have you got your Visual C++ ???? Have you copied it?? Have
- you ever open a Visual C++ book?? Do you own Visual C++???
-
- Anyway I give a shi... here is the solution:
-
- Microsoft Visual C++ 1.5x
- *****************************
-
- 1) Define a project.
- In your menu select: Project and New.
-
- The New Project dialog box appears. Enter a project name. "Hello"
-
- 2) Select Project Type:
- Make sure that "Use Microsoft Foundation Classes" check box is in
- position OFF. Click on "Project Type" and select
- "QuickWinApplication (.EXE)". And OK.
-
- 3) Edit - HELLO.MAK appears.
- "Close"
-
- 4) In the menu, "File" and "New".
-
- 5) Write your standard ANCI C++ program.
-
- 6) "File" and "Save As".
- Enter a File Name "Test.cpp" & Ok.
-
- 7) "Project" and "Edit"
- Click on "TEST.CPP" in the file list. Click on "Add". Now you should
- find "Test.cpp" under Files in project.
-
- 8) "Close".
-
- 9) "Project" and "Rebuild All". If any questions appears, make sure
- it's "YES".
-
- 9a) If (errors) {debug }
- else ...
-
- 10) "Project" and "EXECUTE HELLO.EXE".
- If any questions appaers.... "YES".
-
- Please note that this is NOT the way to make a 100% Windows program.
- If you have a Pro edition, you will be able to make DOS programs the
- way you code.
-
- Buy a book.... (and the compiler, books are included!!!!)...
- If you have bought it, you should have all the books needed.
-
- PLEASE NOTE THAT PROGRAM DEVELOPERS ARE MAKING A LIVING OF
- PROGRAMMING!!! IF YOU COPY A PROGRAM, YOU ARE ONLY CHEATING ON YOUR
- SELF. IF WE DO NOT GET PAID FOR OUR PROGRAMS, WE CAN NOT BE ABLE TO
- MAKE NEW AND BETTER PROGRAMS!!! PLEASE NOTE THAT AS YOU ARE ENTERING
- THE PROGRAM DEVELOPERS WORLD, YOU WOULD BE VERY HAPPY IF YOU GET PAID
- FOR YOUR PROGRAMS. BELIEVE ME!!!
-
-
- Lars-Inge Tonnessen
- larsit@sn.no
-
-
-